<?php
	require_once($_SERVER['DOCUMENT_ROOT'].'/ukkepuk/source/php/classes/beans/Recipe.php'); 
	require_once($_SERVER['DOCUMENT_ROOT'].'/ukkepuk/source/php/classes/dao/UkkepukDao.php'); 
	
	$ukkepukDao = new UkkepukDao();
	
	$recipe = new Recipe();
	$recipe->title = $_POST['recipeTitle'];
	$recipe->description = $_POST['recipeDescription'];
	
	$ukkepukDao->saveRecipe($recipe);
?>